package com.designmodel.chainmodel;

/**
 * Created by
 * 具体的filter  执行具体过滤操作
 * @author touni
 * @date 2019/4/2
 * @time 10:50
 */
public class EncodingFilter implements Filter {
    public void doFilter(String request, String response, FilterChain chain) {
        System.out.println("编码过滤开始了");
        //放行
        chain.doFilter(request,response);
        System.out.println("成功放行");  //完成整个流程后才会执行
    }
}
